Author Topic: Expansion  (Read 12007 times)

Vomitz

  • Guest
Expansion
« on: December 15, 2002, 08:12:50 AM »
can the H series plc be expanded? What should i do if i've not enough output ports?

regards
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re: Expansion
« Reply #1 on: December 18, 2002, 06:39:20 AM »
H-series PLC cannot be expanded. There are 6 models to choose from so you have to choose the correct one. If you need more I/Os, then choose the M-series - it is much more powerful and the price is still extremely attractive.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

vomitz

  • Guest
Re: Expansion
« Reply #2 on: December 23, 2002, 03:42:54 PM »
thanks. Another question though.. can i achieve data acquisition and retention by using the MD series? For example, when the machine is down, the time that the machine is down and how long it is down can be displayed at a later date. how can the hmi be used with it?
regards
and have a merry christmas
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re: Expansion
« Reply #3 on: December 27, 2002, 08:09:18 PM »
You can save downtime data such as the time and date when the machine is down into internal data EEPROM for non-volatile storage using the SAVE_EEP command.

Although data stored in the EEPROM is not directly accessible from external HMI, you  can however define a custom function to be triggered by a relay bit,   the external HMI can trigger this relay bit that execute the custom function  and within this custom function, the LOAD_EEP command will be used to load the saved EEPROM data into DM area for access by the external HMI.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

vomitz

  • Guest
Re: Expansion
« Reply #4 on: December 29, 2002, 05:55:04 AM »
sounds complicated. Care to elaborate further? I have no prior experience on such things. Don't even know of the existence of the save_eep command. Where can it be executed? ladder diagram?
Pardon my ignorance but i'm just trying to learn more. Hope I don't irritate the experts here.

regards
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re: Expansion
« Reply #5 on: December 29, 2002, 10:14:17 AM »
What PLC do you have now? Only M-series PLC with its Ladder + BASIC command is able to execute the TBASIC SAVE_EEP and LOAD_EEP command. If you already know how to use the Ladder+BASIC language this is not at all complicated. If you are not familiar with our PLC at all, then pls download the evaluation version of TRiLOGI from our website and you can find examples on how to use the EEPROM commands.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

vomitz

  • Guest
Re: Expansion
« Reply #6 on: December 30, 2002, 05:17:32 AM »
I've experienced with the H series 22 and 48. i'm planning to get a MD 888+ plc with a exp4040. Can i store more than one time in the eeprom? i mean store as many time as possible till the latest will overwrite the oldest and the user can retrieve all the stored records.
regards
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

philipjoseph

  • Jr. Member
  • Posts: 57
    • View Profile
Re: Expansion
« Reply #7 on: January 06, 2003, 10:57:28 AM »
If you are using a t100md and it is connected to any computer or server, try to use the PRINT funtion. If you use this funtion, the plc will send any caracters to a txt file. so you going to have the register of any stop or run time.
I'm using these dcusF

#1 will be activated when the machine stop
A$= STR$(TIME[1])+":"+STR$(TIME[2])
H$= STR$(DATE[2])+" "+STR$(DATE[3])+" "+STR$(DATE[1])
PRINT #1 "<APPEND"+H$+".txt>"
PRINT #1 "RUNNING FROM: ";B$;" TO ";A$
PRINT #1 "</>"

#2 will be activated when the machine start
B$=STR$(TIME[1])+":"+STR$(TIME[2])
H$= STR$(DATE[2])+" "+STR$(DATE[3])+" "+STR$(DATE[1])
PRINT #1 "<APPEND"+H$+".txt>"
PRINT #1 "STOPPED FROM: ";A$;" TO ";B$
PRINT #1 "</>"

The H$ is to save the date, so every day the plc will open a new file according to the date.
Start with that and you can save a lot of information such as reason of the stop, and so on; using that format.

Philip
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Philip.

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re: Expansion
« Reply #8 on: January 06, 2003, 03:43:33 PM »
Thank you Philip for your contribution :).

As illustrated by Phil, the TLServer File Service function is wonderful if the PLC can be connected to a PLC via RS232 or RS485 and you can practically store unlimited amount of data to a PC harddisk.

However, if the PLC is standalone, you still can use the built-in EEPROM to store whatever data. There are 1700 words of EEPROM data memory which can be accessed via an Index. So you can store multiple sets of data by referencing the position of an index pointer. Once you fill up a certain block of data EEPROM you can move the index pointer back to the first EEPROM position and overwrite the old data there - sort of implementing a circular buffer for the data.

The EEPROM can be overwritten up to 100,000 times which should be quite sufficient for most applications. The key to using the EEPROM is not to keep writing to the EEPROM. So you should only use the differentiated custom function to execute the SAVE_EEP function to store data to the EEPROM.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS