Jump to content

salt

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

salt's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Ok thanks. No restriction set on distance. Modbus over Ethernet is the currently used communication method.
  2. That's correct. The slave is a unitronics plc with hmi, therefore a user can also update operands. This operand is the "original" operand that participates in what the plc cintrols. A problem arises when there is a need for the "external" operand that the master accesses to be different than the "original" and to be also read and write from it, because for the master to read it the slave plc needs to constantly copy the "original" to the "external" and vice versa, and without any indication that the master writes to the "external" in order to update the "original" the master's value will be overwritten (depending on whether the net in which the slave's copy command was executed after the master's connection).
  3. Thanks. How would you implement in the slave the option of writing to its operand and reading from it by master while still enabling writing to it from the slave itself (by a display) if you don't want the master to access directly the operand?
  4. Hi, How can a trigger be set for modbus writes on a slave device? The requirement is for the slave device to perform an action when a master device sets holding registers.
  5. The subroutine are called one after the other with the intention of holding a bit's last state unless one of the subroutines makes it chagnge its state. I tried before to implement conditional subroutines with several layers of parent subroutines but it really brings ladder diagram programming to its limits.
  6. Thanks for the helpful comments. A description of the program : There are several modes of operation: 1- Standard process according to set points (3 temperatures and 1 relative humidity) by which some of 8 outputs are ON and some OFF in 8 states (combination matrix of 3 temperatures and 1 rh). 2- external (by modbus) main switch. When on - the operation is same as (1), otherwise shut down of all outputs in particular order. 3- operation in case of operational problems (detected by digital inputs). In this case, and depending on the detected fault , some of the outputs go off and stay that way for several minutes. Based on this I decided to dedicate each mode of operation to its own subroutine which run one after another, wherein 8 internal MBs change state before actual output. Thise are overriden in order: mode 1 then 2 and last 3. So the last mode turns off relevant MBs set beforehand. The snippets I posted above are from the third subroutine (events). Now, I see that I should have used resets instead of inverted coils, because I need only to turn false some of the MBs. DanT -so yes because of this coils were true instead of just going false in this subroutine. Ausman, I'll consider your suggestion on using vectors instead of MBs. I tell you all this because maybe you have another idea for the design of the entire program.
  7. Hello, I am programming the Vision 350 in Visilogic. In the design of the process loop some conditions lead to simultaneous (or parallel) outputs. In the program, some of thoses outputs are represented internally by memory bits to be true or false before actual output in the scan cycle. The problem: putting coils (the "internal" MBs I mentioned above) in parallel does not trigger all of them. See net below: Trying an alternative doesn't work either: Any suggestions?
×
×
  • Create New...